Skip to main content

SetTo

Type​

statement

Summary​

Put a value into a container.

Syntax​

set <targetContainer> to <sourceValue>

Description​

Assigns the result of evaluating sourceValue to targetContainer.

note

It is a checked runtime error for the source value's type to not be compatible with the target expression's type.

Parameters​

NameTypeDescription

targetContainer

any

A valid target for sourceValue

sourceValue

any

The value to put into the targetContainer

Thank you for your feedback!

Was this page helpful?